package http

import (
	"github.com/gin-gonic/gin"
	"mall-portalv2/internal/server/ctx"
	"net/http"
	"time"
)

func publicRefreshTimeHandlerFunc(c *gin.Context) {
	app := ctx.Gin{C: c}

	nowTime := time.Now()

	app.Response(http.StatusOK, ctx.OK, nowTime)
}
